﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LiteExpress.Core.DbClient
{
    public class ObjectSql
    {
        /// <summary>
        /// SQL标识
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// SQL文本
        /// </summary>
        public string sql { get; set; }
        
        /// <summary>
        /// SQL支持的数据库类型
        /// </summary>
        public DataBaseType adpated { get; set; }
        
        public ObjectSql()
        {
            this.adpated = DataBaseType.MsSql;
        }
    }

    public class SqlMapScheme
    {
        public string module { get; set; }
        public string dbName { get; set; }
        public ObjectSql[] sqls { get; set; }
    }
}
